package com.xzy.fruitmall;

import com.xzy.fruitmall.entity.GoodsInfo;

import java.util.List;

public interface GoodsService {
    List<GoodsInfo> findAllGoods();
    List<GoodsInfo> findGoodsByName(String goodsName);
    void deleteGoodsById(int goodsId);
    GoodsInfo findGoodsById(int goodsId);
    void addGoods(GoodsInfo gi);
    void updateGoods(GoodsInfo gi);
}
